
"use client";
import { Suspense, useEffect, useState } from "react";
import Dom from "./Dom";


export default function TestE() {
    const [pageshow, setPageShow] = useState(false);
    useEffect(() => {
        //设置页面加载完成
        setPageShow(true);
    }, []);
    return<><main className="min-h-screen" >
        <canvas id="blackRectangle" ></canvas>
        {pageshow && <Dom/>}
    </main>
    </> 
}